home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PD Collection CD 1
/
PD Collection CD 1.iso
/
utils3
/
viewfind
/
ReadMe
Wrap
Text File
|
1993-05-15
|
10KB
|
345 lines
Here's !View+Find after I did some reading on font handling
Now it comes with three templates files:
--------
high`res
--------
Will be used in high resolution modes if in the !Run file you say
hires`templates = TRUE
-------
low`res
-------
Will be used in low resolution modes if in the !Run file you say
lores`templates = TRUE
--------
sys`font
--------
Will be used instead of the above when you say something different
high`res contains !View+Find's templates with text in an anti-aliased font
which looks good in hires modes
low`res contains the same templates with text in an anti-aliased font which
looks good in lores modes
sys`font contains a 3rd copy of !View+Find's templates with text in system font
which looks bad at any resolution except mode 3 which wimp doesn't like
So high`res is 16 points Trinity.Medium
low`res 10 points Portrhouse.Standard
and of course, you can change everything except for the sizes of the
indirected data buffers (if you do you'll also need to re-DIM one line
in !RunImage)
As I already said, if one of the ..res`templates vars is FALSE the
sys`font templates will be used in the .. resolution modes
The file though will always be displayed in the system font
The system variable V+F$Templates in the !Run file can be set to point to a
directory holding the templates files - a good place is the RAM disk or
!Memphis so the disk (hard or soft) will not be accessed on every resolution
change (it also won't be if only sys`font is used)
If V+F$Templates is *Unset, templates will be searched for in V+F's directory
Colours
=======
If you redefine the
1) View window's foreground
2) highlighting
3) non-displayable ('control') characters
colour, set the corresponding variable in the mk`ARMCode to the new value
1) color`foreground
2) color`hiLite
3) color`ctrlCh
and run mk`ARMCode. It will MaKe a new ARMCode and save it into
scrap`dir$+"ARMCode" (scrap`dir$="RAM:$." currently, note the '.')
Replace the old ARMCode by the new one or you won't see any changes
(in the best case) or anything at all (in the less better one)
Current values for the above colours are 0,14,11 = white,orange,red
Problems
========
The Save icon is set up to darken slightly when it slabs inwards.
This works ok with the system font but with aa fonts it doesn't change
the colour when slabbing in and the next time you open the Configure window
'Save' will have disappeared leaving only the icon border.
I don't know whether this is a bug in the Interface module or in me
Anyway, this is not as bad as it seems as the icon comes back as healthy as
possible on a resolution change
Maybe some more ...
Help
====
... is in the DrawFiles. 'Read' them in the order
view`state
find`state
conf`state
icon`state
last`state
or in any other sensible one. If you load them in mode 12 and full size'em
you will already see everything they contain, ie. you don't need to scroll
around to see more
I also include the old ReadMe file but since some new things have appeared
and some old ones dis, compare with the `state files
Franz Philipps
Koeslinerstr. 71 A
7500 Karlsruhe
Germany
e-mail: ig06@rz.uni-karlsruhe.de
- ReadMe old -------------------------------------------------------------------
!View+Find let's you
^ ^
| |
+------------ view a file
|
+------- search it for a string
V+F displays a file as follows:
A line is broken at an End Of Line (EoL) char or
when it has reached a maximum length of 80 chars
EoL is CHR$10 or CHR$13 depending on which one was found first
when searching from the beginning of the file (of course)
CHR$9 (tab) is replaced by as much spaces as needed to arrive
at an 8-char boundary (you know what I mean)
The delete char (127) control chars (codes < 32) which are not
EoL or tab get ASC"@" added to them and are displayed in red,
so a RED ¿ is the del char ( ASC"¿" - ASC"@' = 191-64 = 127 )
and a white ¿ is what it is: a ¿ in white
Only the normal chars are displayed normally
All this happens in the View window, the one in the middle
of the DrawMe file which you should load into !Draw now and
continue there (I got tired looking up every (well, almost)
word in my E<>G dictionary; besides, 1 pic is better than 1000)
( If you don't have !Draw, load it into !Draw+
If you don't have !Draw+, you're trying to run the right program
on a wrong computer )
Here goes the summary and some things which are not in the DrawMe file:
(BUTTON+SHIFT means of course: hold SHIFT down while clicking button BUTTON)
Killing the Caret
-----------------
SELECT+SHIFT over View
SELECT+SHIFT over Icon
Opening
-------
Search for: MENU over View
(opens up at a position according to
the state of the Configure window)
Configure : MENU+SHIFT over View
(opens just below the title of 'its' View window)
Icon : close View with ADJUST (opening Icon = iconizing View)
View : MENU over Icon
Closing
-------
Search for: if already open, MENU over View closes it
it dies with View
and it's an 'if you lose the caret you lose your life' window
(so it'll be closed when View gets iconized or when a writeble
icon or another window grabs the caret)
Configure : any button over View
it also is a iyltcylyl window
Icon : MENU over it (closing Icon = deiconizing View)
+SHIFT terminates the program
View : ADJUST iconizes it
SELECT - normal action (kills !View+Find also)
+SHIFT opens directory of the file being viewed
Input focus
-----------
Configure and 'Search for' are panes with View as their tool window
(this is how Arthur calls it). They get the I.focus when being opened up
and View gets highlighted green (hoping for something ?)
Scrolling View
--------------
normal + Cursor keys
Page Up/Down = SHIFT + Cursor Up/Down
^ Cursor Up/Down do what you'd expect
Moving around
-------------
Search for: title bar
Configure : "
Icon : SELECT anywhere over it brings it to the top first
ADJUST anywhere over it ; current position is retained
ADJUST+SHIFT anywhere over it sends it to the bottom first
View : as Icon
Shortcuts
---------
These will only work if they come through.
For example, if you're editing something with a strong editor in a
YELLOW window, f4 will bring up the 'Find text' dialog box.
Now you kill the caret (SELECT+SHIFT in View), the window pales
and f4 brings forth the 'Search for' window.
Shortcuts are 'context sensitive' (e.g. f4 only works when View's open)
f4 see ⇧
^I(conize) iconizes View
^C(ase) toggles Case sensitivity when 'Search for' is open
(onfigure) opens Configure otherwise
^K(ill) terminates the program
^V(iew) deiconizes View
RETURN is equivalent to clicking on the Save button of Configure
or triggers a search ⇩ when in 'Search for'
ESCAPE will kill Search for and Configure
Searching
---------
CURSOR ⇩ searches to the end of file
CURSOR ⇧ to its head
The search starts at first displayed line or at the last match if
it is visible (ORANGE highlighting) and wraps at both ends.
If you scroll a visible hiLiting out of sight the first line will be taken.
A short melody will be played if nothing or the privious match
has been found. So,
- looking for 'b' in 'abba' will hiLite the 1st 'b' (found) and if
you press RETURN of CURSOR ⇩ the second one gets hiLited
- looking for 'b' in 'aba' will hiLite the 1st 'b' (found) and if
you press RETURN of CURSOR ⇩ it will be found again (wrap at bottom),
but as this is the previous match, the heavenly melody will sound
To switch from 'Not case sensitive' to 'Case sensitive' click on
'Not case sensitive' with SELECT or ADJUST (or ^C)
To switch from 'Case sensitive' to 'Not case sensitive' click on
'Case sensitive' with SELECT or ADJUST (or ^C)
If you enter '\*' V+F will find it if it's there
(Oh Mann, it gets pretty long)
Defaults
--------
A default State file will be generated if there isn't one:
- Iconize View at last position
- don't tie 'Search for' to View
'Iconize View at last position' means:
- iconize View to Icon
- place Icon at its last position
In the beginnig there wasn't a last position ...
So, so configured, the first time you iconize View Icon will be placed at a
random position somewhere at the left screen edge in the upper screen half
I may have forgotten a thing - click around wildly with modifier keys
held down to find out
Here's how I use it (could be useful perhaps)
I have defined several new file types (ViewFile, §Index, §Manual, §Info,
§Warning) with nice sprites corresponding to their names and
*Set Alias$@RunType_XYZ /!View+Find.Run %0
That's ok until you want to view files of other types
Then you need a Strong Ed or a not so strong one
OR
You run !TinyDirs (are you PC guy still here ?) and pull V+F to the
directory icon on the icon bar. Now you can view files of type >-1 and <&1000
- just drop one on V+F's icon.
(I hold V+F in !Memphis together with ResoIcons' sprites and have
*Set Run$Path Mem:$.,etc. so disk is accessed only to get the view file
and I can do with the ram disk whatever I want and as a side effect
easily determine who's abusing the system sprites area and wants to
be dragged to Richard € Immediate (sits just beside Brian) )
Eh ...
Some sprites are not mine:
The Eye I took from ARXE's Scorpius (don't know from whom they did)
The Skull is from Fillip 1988-1989 who wrote !Fish
(Scorpius' skull is much nicer but how get it ?)
The Glasses I extracted from one on those uncountable Sprites/3dIcons/3dSprites
etc. archives months ago so I really don't know who designed it
All modules aren't too:
The Interface module is by Simon Huntington (but who doesn't know this)
Ok, that's all
I hope it won't do any harm to your Archimedes
Bye
Franz Philipps
ig06@rz.uni-karlsruhe.de
⇧ send me your bugs but only mine